package com.api.manage.pojo.finance;

import java.math.BigDecimal;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;
import java.time.LocalDateTime;
import com.api.manage.base.PageBean;
/**
 * <p>
 * 发票，开票记录
 * </p>
 *
 * @author 腾木
 * @since 2023-11-08
 */
@Data
@NoArgsConstructor
@ApiModel(value="Invoice对象", description="发票，开票记录")
public class InvoiceBean extends PageBean implements Serializable {

    private static final long serialVersionUID=671346576L;

    @ApiModelProperty(value = "开票信息")
    private Long invoiceId;

    @ApiModelProperty(value = "企业")
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "1支付发票 2收款发票 1对方开给我方的   2我方开给对方的")
    private Integer type;

    @ApiModelProperty(value = "关联业务类型")
    private Integer refType;

    @ApiModelProperty(value = "关联业务id")
    private Long refId;

    @ApiModelProperty(value = "企业名称--买方")
    private String buyerName;

    @ApiModelProperty(value = "纳税人识别号")
    private String buyerCode;

    @ApiModelProperty(value = "电话")
    private String buyerTelephone;

    @ApiModelProperty(value = "企业地址")
    private String buyerAddress;

    @ApiModelProperty(value = "开户银行的名称")
    private String buyerBankName;

    @ApiModelProperty(value = "银行账号")
    private String buyerBankAccount;

    @ApiModelProperty(value = "状态1待生效  2待支付  3已支付")
    private Integer status;

    @ApiModelProperty(value = "总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "税率%")
    private BigDecimal taxRate;

    @ApiModelProperty(value = "企业名称--销售方")
    private String sellerName;

    @ApiModelProperty(value = "纳税人识别号")
    private String sellerCode;

    @ApiModelProperty(value = "电话")
    private String sellerTelephone;

    @ApiModelProperty(value = "企业地址")
    private String sellerAddress;

    @ApiModelProperty(value = "开户银行的名称")
    private String sellerBankName;

    @ApiModelProperty(value = "银行账号")
    private String sellerBankAccount;

    @ApiModelProperty(value = "开票人")
    private Long createId;

    @ApiModelProperty(value = "开票时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "图片")
    private String url;

    @ApiModelProperty(value = "说明")
    private String msg;

    private Integer deleted;


}
